import request from '@/utils/request'

// 添加编辑场馆
export function savebrand(data) {
  return request({
    url: '/schedBrand/Addeditor',
    method: 'post',
    data
  })
}
// 获取场馆列表
export function getbrand(data) {
  return request({
    url: '/schedBrand/lists',
    method: 'post',
    data
  })
}
// 获取场馆详情
export function getbrandinfo(data) {
  return request({
    url: '/schedBrand/Infos',
    method: 'post',
    data
  })
}
// 获取场馆详情
export function getbrandinfo2(data) {
  return request({
    url: '/schedBrand/Details',
    method: 'post',
    data
  })
}
// 场馆放假
export function getHoliday(data) {
  return request({
    url: '/schedBrand/holiday',
    method: 'post',
    data
  })
}
// 删除场馆
export function delbrand(data) {
  return request({
    url: '/schedBrand/DelBrand',
    method: 'post',
    data
  })
}
// 修改头像
export function editbrandhead(data) {
  return request({
    url: '/schedBrand/EditBrandHead',
    method: 'post',
    data
  })
}


// 积分设置详情
export function integralsetinfo(data) {
  return request({
    url: '/schedBrand/IntegralsetInfo',
    method: 'post',
    data
  })
}
// 修改积分设置
export function integralsetedit(data) {
  return request({
    url: '/schedBrand/IntegralsetEdit',
    method: 'post',
    data
  })
}
// 储物柜列表
export function LockersList(data) {
  return request({
    url: '/schedBrand/LockersList',
    method: 'post',
    data
  })
}
// 储物柜添加
export function LockersEdit(data) {
  return request({
    url: '/schedBrand/LockersAdd',
    method: 'post',
    data
  })
}
// 储物柜删除
export function LockersDel(data) {
  return request({
    url: '/schedBrand/LockerDel',
    method: 'post',
    data
  })
}
// 储物柜搜索会员
export function MemberList(data) {
  return request({
    url: '/schedBrand/MemberList',
    method: 'post',
    data
  })
}
// 使用储物柜
export function LockersUse(data) {
  return request({
    url: '/schedBrand/LockersUse',
    method: 'post',
    data
  })
}
// 权限列表
export function AuthList(data) {
  return request({
    url: '/schedAuthRole/grouplist',
    method: 'post',
    data
  })
}
// 权限节点
export function RoleList(data) {
  return request({
    url: '/schedAuthRole/rolelist',
    method: 'post',
    data
  })
}
// 权限节点
export function AdminRoleList(data) {
  return request({
    url: '/schedAuthRole/adminrolelist',
    method: 'post',
    data
  })
}
// 权限节点
export function AddEdit(data) {
  return request({
    url: '/schedAuthRole/AddEdit',
    method: 'post',
    data
  })
}
// 删除权限节点
export function Del(data) {
  return request({
    url: '/schedAuthRole/Del',
    method: 'post',
    data
  })
}
// 恢复角色默认权限
export function AuthDefault(data) {
  return request({
    url: '/schedAuthRole/AuthDefault',
    method: 'post',
    data
  })
}
// 获取团课预约记录
export function GroupClass(data) {
  return request({
    url: '/SchedDashboard/group_class',
    method: 'post',
    data
  })
}
// 微信模板消息列表
export function SchedTmpl(data) {
  return request({
    url: '/SchedTmpl/tmpl_list',
    method: 'post',
    data
  })
}
// 微信模板消息列表选择
export function SchedTmplChoice(data) {
  return request({
    url: '/SchedTmpl/CheckTmpl',
    method: 'post',
    data
  })
}
